package com.tensquare.recruit.dao;

import com.tensquare.recruit.pojo.Enterprise;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by WF on 2020/12/15 15:27
 */
public interface EnterpriseDao extends JpaRepository<Enterprise,String> {

    //1.查询热门企业
    //自定义方法会写成类似的sql：select * from tb_enterprise where ishot=?
    List<Enterprise> findByIshot(String ishot);
}
